package com.example.myapplication3.api;

import com.example.myapplication3.bean.Beijing;
import com.example.myapplication3.bean.Student1;
import com.example.myapplication3.bean.Student2;
import com.example.myapplication3.bean.Student3;
import com.example.myapplication3.bean.Student4;

import java.util.Map;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;

public interface ServiceApi {

    String BASE_URL="https://api.epmap.org/";




            @GET("api/v1/air/station_list")
    Call<Student1>gethome1();


            @GET("api/v1/air/station_iaqi")
    Call<Student2>gethome2(@QueryMap Map<String,String> map);

            @GET("/api/v1/air/city")
    Call<Student3>gethome3(@QueryMap Map<String,String> map);

            @GET("api/v1/air/station")
    Call<Student4>gethome4(@QueryMap Map<String,String> map);


            String URL_1="https://jisutqybmf.market.alicloudapi.com/weather/";
            @GET("city")
    Call<Beijing>gethome5();

}
